package com.wxhntmy.config;

import java.util.List;

/**
 * Oauth2
 *
 * @author chenwc
 * @package com.wxhntmy.config
 * @project GoogleTranslate
 * @date 2025/6/23
 */
public class Oauth2 {
    /**
     * 在Google Developer Console做成的服务账号即clientID
     */
    private String clientId;
    /**
     * 发行访问令牌的目标网址
     */
    private String audUrl;
    /**
     * 将要使用的API所需要对应指定的范围
     */
    private List<String> scopeUrl;
    /**
     * 私钥ID
     */
    private String privateKeyId;
    /**
     * 获取token的url
     */
    private String tokenUrl;
    /**
     * 认证token前缀
     */
    private String tokenPrefix;
    /**
     * jks文件存放路径
     */
    private String jksStorePath;
    /**
     * 密钥别名
     */
    private String keyAlias;
    /**
     * jks文件密码
     */
    private String jksPassword;

    /**
     * json文件存放路径
     */
    private String jsonStorePath;

    public String getJsonStorePath() {
        return jsonStorePath;
    }

    public void setJsonStorePath(String jsonStorePath) {
        this.jsonStorePath = jsonStorePath;
    }

    public String getClientId() {
        return clientId;
    }

    public void setClientId(String clientId) {
        this.clientId = clientId;
    }

    public String getAudUrl() {
        return audUrl;
    }

    public void setAudUrl(String audUrl) {
        this.audUrl = audUrl;
    }

    public List<String> getScopeUrl() {
        return scopeUrl;
    }

    public void setScopeUrl(List<String> scopeUrl) {
        this.scopeUrl = scopeUrl;
    }

    public String getPrivateKeyId() {
        return privateKeyId;
    }

    public void setPrivateKeyId(String privateKeyId) {
        this.privateKeyId = privateKeyId;
    }

    public String getTokenUrl() {
        return tokenUrl;
    }

    public void setTokenUrl(String tokenUrl) {
        this.tokenUrl = tokenUrl;
    }

    public String getTokenPrefix() {
        return tokenPrefix;
    }

    public void setTokenPrefix(String tokenPrefix) {
        this.tokenPrefix = tokenPrefix;
    }

    public String getJksStorePath() {
        return jksStorePath;
    }

    public void setJksStorePath(String jksStorePath) {
        this.jksStorePath = jksStorePath;
    }

    public String getKeyAlias() {
        return keyAlias;
    }

    public void setKeyAlias(String keyAlias) {
        this.keyAlias = keyAlias;
    }

    public String getJksPassword() {
        return jksPassword;
    }

    public void setJksPassword(String jksPassword) {
        this.jksPassword = jksPassword;
    }
}
